package com.huluobo.a2206monthdemo;

import android.app.Application;

import com.huluobo.base.db.AppDBUtils;
import com.hyphenate.chat.EMClient;
import com.hyphenate.chat.EMOptions;
import com.umeng.commonsdk.UMConfigure;
import com.umeng.socialize.PlatformConfig;

/**
 * Created by LC on 2024/9/4.
 */
public class DouyinApp extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        //友盟初始化
        UMConfigure.init(this, "66c47494192e0574e7667dff", "umeng", UMConfigure.DEVICE_TYPE_PHONE, "");

        PlatformConfig.setQQZone("101830139", "5d63ae8858f1caab67715ccd6c18d7a5");

        AppDBUtils.getInstance().init(this);

        //moroks#2202douyinkotlindemo
        EMOptions options = new EMOptions();
        options.setAppKey("moroks#2202douyinkotlindemo");
        EMClient.getInstance().init(this, options);
    }
}
